import 'reflect-metadata';
import { AppDataSource } from '../database';

export async function initializeDatabase() {
  try {
    await AppDataSource.initialize();
    console.log('Database connection initialized');
  } catch (error) {
    console.error('Error initializing database:', error);
  }
} 